import Request from "../../../../utils/request.js";
export default class {
  static querySecurityMoneyInfo(params) {
    console.log(params)
    return Request({
      url: 'app/seckill/querySecurityMoneyInfo',
      type: "GET",
      data: params,
      headers: {
        "Content-type": "application/x-www-form-urlencoded"
      }
    })
  }
  static securityMoney(params) {
    console.log(params)
    return Request({
      url: 'app/seckill/payment/paymentMoney',
      type: "POST",
      data: params
    })
  }
  static paymentMoney(params){
    return Request({
      url:'app/seckill/payment/paymentMoney',
      type: "POST",
      data: params
    })
  }
  static queryOrderDetail(params){
    return Request({
      url: `app/seckill/queryOrderDetail?seckillOrderId=${params}`,
      type: "GET",
    })
  }
  static getqueryDetail(params) {
    return Request({
      url: `app/seckill/queryDetail/${params}`,
      type: "GET",
    })
  }
} 